module.exports = class extends think.Model {
    get pk() {
        return 'admin_id';
    }
    getUser(code) {
        return this.where({'code': code}).find();
    }
};
